Question:
Has anybody used Baan with VB as front end ? Can we call a BaaN DLL or function with VB ?
What are the Baan object methods?  The samples in the baan\samples directory for Visual Basic give a few examples,
but I was hoping for more extensive list of objects and references.  Would such a document exist?

My answer:
The problem isn't what are the methods (see BAAN's recommendation) but what does the methods return!
When you'll get it up I hope the next information will be very useful for you:
 
Baan side (bshell) - BAAN library: tccomtest MS Excel side (ActiveX object)
FUNCTION extern long test21sr(ref string slowo()) 
    { long numer 
      myhardcopy("test21sr") 
      slowo = "returned string" 
      return(21) 
    } 

 FUNCTION void myhardcopy(string filename(128)) 
 { 
   long fptr, mynrbytes 
   string mybuffer(12) 
   mybuffer = "Its a buffer" 
   mynrbytes = 12 
   fptr = seq.open(filename, "w") 
   seq.write(mybuffer, mynrbytes, fptr) 
   seq.close(fptr) 
 }

Dim MyBaanObj As Object 
Dim B_function As String 
Dim shift_no As Long 
Dim warhouse_no As String 
Dim strTemp As String 

Sub ShiftStart() 
     On Error GoTo CannotCreateBaan 
     ' IUnknown's AddRef 
     Set MyBaanObj = CreateObject("Baan4.Application") 
     ThisWorkbook.Sheets("tccom008").Activate 
     MyBaanObj.Timeout = 100 
  On Error GoTo BaanAutomationError 
     'Baan function call 
     shift_no = 333 
     warhouse_no = "555555555555555" 
     B_function = "test21sr(" & Chr(34) & warhouse_no & Chr(34) & ")" 
     MyBaanObj.ParseExecFunction "otccomtest", B_function 
     strTemp = MyBaanObj.ReturnValue 
     ' strTemp="21" here 
     warhouse_no = MyBaanObj.FunctionCall 
     ' warhouse_no="test21sr("returned string")" here 
    warhouse_no = Mid(warhouse_no, 10, 16) 
      ' warhouse_no="returned string" 

    'IUnknown Release 
    MyBaanObj.Quit 
  Set MyBaanObj = Nothing 
  Exit Sub 

CannotCreateBaan: 
   MsgBox "Try the Baan later again" 
   Exit Sub 

BaanAutomationError: 
   MsgBox "Automation error Baan IV: " & MyBaanObj.Error 
   MyBaanObj.Quit 
   Set MyBaanObj = Nothing 
   Exit Sub 

End Sub 

And more: In BAAN libraries function it's reasonably to return a start position.
Doing it you can write so:

MyBaanObj.ParseExecFunction "otccomtest", B_function
nStartPos = VAL(MyBaanObj.ReturnValue)
IF nStartPos > 0 THEN
    warhouse_no = Mid(MyBaanObj.FunctionCall, nStartPos,16)
    ' warhouse_no="returned string"
ENDIF

Good luck!
PeterS.